[Facebook Graph API - Android] I want to know the HTTPSConnection redirected to which URL?

Posted by Mohammad Abdelaziz on Stack Overflow See other posts from Stack Overflow or by Mohammad Abdelaziz
Published on 2010-05-28T19:39:12Z Indexed on 2010/05/28 19:42 UTC
Read the original article Hit count: 182

Filed under:
|

I am building an application that uses the Facebook Graph API.

To get the access token I should send the following request

https://graph.facebook.com/oauth/authorize? client_id=...& redirect_uri=http://www.example.com/callback

It redirects to the redirect_uri with the code to be used as access token.

How can I capture that the HttpsURLConnection is redirected and how to get the code?

Is it possible or I need to have server that gets the access token?

© Stack Overflow or respective owner

Related posts about android

Related posts about facebook-api